package com.yvon.gprc.server.entity;

import com.yvon.grpc.api.Ip;
import com.yvon.grpc.api.Name;

public class DataType{
    private Name name;
    private Ip ip;

    public DataType(Name name, Ip ip) {
        this.name = name;
        this.ip = ip;
    }

    public Name getName() {
        return name;
    }

    public void setName(Name name) {
        this.name = name;
    }

    public Ip getIp() {
        return ip;
    }

    public void setIp(Ip ip) {
        this.ip = ip;
    }
}